<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="UTF-8">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="Content-Language" content="UTF-8" />
	<meta name="robots" content="all" />
	<meta name="author" content="web@zhoulang.net,zhoulang" />
	<meta name="Copyright" content="SyueBlog CopyRight 2009" />
	<meta name="keywords" content="SyueBlog,javascri&#112;t,firefox,browser,浏览器,zhoulang,前端开发" />
	<meta name="description" content="zhoulang&#39;s blog, SyueBlog的官方站点。关注Web开发" />
	<meta name="generator" content="SyueBlog" />
	<title>ZhouLang&#39;s Blog-关注互联网~ 关注Web技术~</title>
	<link rel="stylesheet" rev="stylesheet" href="skins/zhoulang/global.css" type="text/css" media="all" /><!--全局样式表-->
	<link rel="stylesheet" rev="stylesheet" href="skins/zhoulang/layout.css" type="text/css" media="all" /><!--层次样式表-->
	<link rel="stylesheet" rev="stylesheet" href="skins/zhoulang/typography.css" type="text/css" media="all" /><!--局部样式表-->
	<link rel="stylesheet" rev="stylesheet" href="skins/zhoulang/link.css" type="text/css" media="all" /><!--超链接样式表-->
	<link rel="icon" href="favicon.ico" type="image/x-icon" />
	<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
	<script type="text/javascript" src="common/common.js"></script>
</head>
<body>
<div id="container">
	<!--顶部-->
	<div id="header">
		<div id="blogname">
			ZhouLang&#39;s Blog
			<div id="blogTitle">关注互联网~ 关注Web技术~</div>
		</div>
		<div id="menu">
			<div id="Left"></div>
			<div id="Right"></div>
			<ul>
				<li class="menuL"></li>
				<li><a class="menuA menuB" href="default.asp" title="Blog Index">Index</a></li>
				<li class="menuDiv"></li>
				<li><a class="menuA" href="default.asp?cateID=1" title="JS技术(Javascript technology)">Javascript</a></li>
				<li class="menuDiv"></li>
				<li><a class="menuA" href="default.asp?cateID=4" title="网页设计(Web Design)">Web Design</a></li>
				<li class="menuDiv"></li>
				<li><a class="menuA" href="default.asp?cateID=6" title="学习笔记(Note of learning)">Note</a></li>
				<li class="menuDiv"></li>
				<li><a class="menuA" href="default.asp?cateID=3" title="网络资源(Network Resource)">Resource</a></li>
				<li class="menuDiv"></li>
				<li><a class="menuA" href="default.asp?cateID=7" title="About PJBlog3">PJBlog3</a></li>
				<li class="menuDiv"></li>
				<li><a class="menuA" href="default.asp?cateID=5" title="我的日记(My Diary)">Diary</a></li>
				<li class="menuDiv"></li>
				<li><a class="menuA" href="LoadMod.asp?plugins=GuestBookForPJBlog" title="GuestBook">GuestBook</a></li>
				<li class="menuDiv"></li>
				<li><a class="menuA" href="tag.asp" title="Tags Cloud">Tags Cloud</a></li>
				<li class="menuDiv"></li>
				<li><a class="menuA" href="http://bbs.pjhome.net" title="PJBlog BBS">BBS</a></li>
				<li class="menuR"></li>
			</ul>
		</div>
	</div>

	<!--内容-->
	<div id="Tbody">
		<div id="mainContent">
			<div id="innermainContent">
				<div id="mainContent-topimg"></div>
				<div id="Content_ContentList" class="content-width">
					<div class="pageContent" style="text-align:Right;overflow:hidden;height:18px;line-height:140%">
						<span style="float:left"></span>
						预览模式: <a href="?distype=normal" accesskey="1">普通</a> | <a href="?distype=list" accesskey="2">列表</a>
					</div>
					<div class="Content">
						<div class="Content-top">
							<div class="ContentLeft"></div>
							<div class="ContentRight"></div>
							<h1 class="ContentTitle">
								<img src="images/icons/page.gif" style="margin:0px 2px -4px 0px;" alt="" class="CateIcon"/>
								<a class="titleA" href="article/Javascript/web_workers.htm">作为未来的前端高手的你不能不知的 Web Workers</a>
							</h1>
							<h2 class="ContentAuthor">作者:puterjam 日期:2009-04-23</h2>
						</div>
						<div id="log_979">
							<div class="Content-body">
								<p><img align="right" src="http://people.mozilla.com/%7Eprouget/demos/worker_and_simulatedannealing/spinfox.png" alt="" />Firefox 3.5 其中一个最大的特性就是对 <a href="https://developer.mozilla.org/En/Using_web_workers" target="_blank">worker </a>的支持(当然safari也支持)。workers不仅仅能够让我们未来的web APP更加MVC。同时,他的异步后端运算给web程序带来更多可能性。</p>
								<p>到底有什么好处？来看实例更加直接一些. <a href="http://blog.mozbox.org/" target="_blank">mozbox</a>的Paul Rouget用<a target="_blank" href="http://zh.wikipedia.org/wiki/%E6%A8%A1%E6%8B%9F%E9%80%80%E7%81%AB">模拟退火算法（Simulated annealing）</a>给我们演示了workers的优越性。</p>
								<p>&nbsp;</p>
								<p><strong>1.</strong> 不了解 Simulated annealing 的可以先看看这个图形化的演示过程，了解的同学直接看第二步</p>
								<p><a href="article/Javascript/web_workers.htm" class="more">查看更多...</a></p>
								<p>Tags: <a href="default.asp?tag=Firefox">Firefox</a><a href="http://technorati.com/tag/Firefox" rel="tag" style="display:none">Firefox</a> <a href="default.asp?tag=workers">workers</a><a href="http://technorati.com/tag/workers" rel="tag" style="display:none">workers</a> </p>
							</div>
							<div class="Content-bottom">
							<div class="ContentBLeft"></div>
							<div class="ContentBRight"></div>
							分类:<a href="default.asp?cateID=1" title="">Javascript</a> | <a href="?id=979">固定链接</a> | <a href="article/Javascript/web_workers.htm#comm_top">评论: 4</a> | <a href="trackback.asp?tbID=979&amp;action=view" target="_blank">引用: 0</a> | 查看次数: 574
							</div>
						</div>
					</div>
					<div class="pageContent">
						<div class="page" style="float:Left">
							<ul>
							<li class="pageNumber">
								<strong>1</strong> | <a href="/default.asp?page=2"  page="2">2</a> | <a href="/default.asp?page=2" title="下一页" page="2" style="text-decoration:none" accesskey="." >›</a> | <a href="/default.asp?page=92" page="92"  title="最后一页" style="text-decoration:none" >»</a>
							</li>
							</ul>
						</div>
					</div>
				</div>
				<div id="mainContent-bottomimg"></div>
			</div>
		</div>
	   
		<div id="sidebar">
			<div id="innersidebar">
				<div id="sidebar-topimg"><!--工具条顶部图象--></div>
			
				<div id="Side_GoogleSearch" class="sidepanel">
					<h4 class="Ptitle">Blog Search</h4>
					<div class="Pcontent">
						<!-- Google CSE Search Box Begins  -->
						<div class="cse-branding-" style="margin:4px">
							<div class="cse-branding-form">
								<form action="http://www.google.com/cse" id="searchbox_017473628490393480374:roe8lkcmn34" style="margin-top:0">
								<input type="hidden" name="cx" value="017473628490393480374:roe8lkcmn34" />
								<input type="text" name="q" size="14" class="inputBox" style="width:115px"/>
								<input type="submit" name="sa" value="Search" style="margin-top:2px;margin-right:-5px"/>
								</form>
							</div>
						</div>
						<!-- Google CSE Search Box Ends -->
					</div>
					<div class="Pfoot"></div>
				</div>
			
				<div id="Side_Category" class="sidepanel">
					<h4 class="Ptitle">Category</h4>
					<div class="Pcontent">
						<img src="images/icons/house.gif" border="0" style="margin:3px 4px -4px 0px;" alt="Blog Index"/>
						<a class="CategoryA" href="default.asp" title="Blog Index">Index</a><br/>
						<img src="images/icons/page.gif" border="0" style="margin:3px 4px -4px 0px;" alt="JS技术(Javascript technology)"/>
						<a class="CategoryA" href="default.asp?cateID=1" title="JS技术(Javascript technology)">Javascript [103]</a> <a href="feed.asp?cateID=1" title="订阅该分类内容"><img src="images/rss.png" border="0" style="margin:3px 4px -1px 0px;" alt=""/></a><br/>
						<img src="images/icons/layout.gif" border="0" style="margin:3px 4px -4px 0px;" alt="网页设计(Web Design)"/><a class="CategoryA" href="default.asp?cateID=4" title="网页设计(Web Design)">Web Design [83]</a> <a href="feed.asp?cateID=4" title="订阅该分类内容"><img src="images/rss.png" border="0" style="margin:3px 4px -1px 0px;" alt=""/></a><br/>
						<img src="images/icons/note.gif" border="0" style="margin:3px 4px -4px 0px;" alt="学习笔记(Note of learning)"/><a class="CategoryA" href="default.asp?cateID=6" title="学习笔记(Note of learning)">Note [71]</a> <a href="feed.asp?cateID=6" title="订阅该分类内容"><img src="images/rss.png" border="0" style="margin:3px 4px -1px 0px;" alt=""/></a><br/>
						<img src="images/icons/monitor.gif" border="0" style="margin:3px 4px -4px 0px;" alt="网络资源(Network Resource)"/><a class="CategoryA" href="default.asp?cateID=3" title="网络资源(Network Resource)">Resource [232]</a> <a href="feed.asp?cateID=3" title="订阅该分类内容"><img src="images/rss.png" border="0" style="margin:3px 4px -1px 0px;" alt=""/></a><br/>
						<img src="images/icons/bug.gif" border="0" style="margin:3px 4px -4px 0px;" alt="PJBlog Patch"/><a class="CategoryA" href="default.asp?cateID=10" title="PJBlog Patch">Patch [18]</a> <a href="feed.asp?cateID=10" title="订阅该分类内容"><img src="images/rss.png" border="0" style="margin:3px 4px -1px 0px;" alt=""/></a><br/>
						<img src="images/icons/page_copy.gif" border="0" style="margin:3px 4px -4px 0px;" alt="我的日记(My Diary)"/><a class="CategoryA" href="default.asp?cateID=5" title="我的日记(My Diary)">Diary [224]</a> <a href="feed.asp?cateID=5" title="订阅该分类内容"><img src="images/rss.png" border="0" style="margin:3px 4px -1px 0px;" alt=""/></a><br/>
						<img src="images/icons/book_open.gif" border="0" style="margin:3px 4px -4px 0px;" alt="书籍(book)"/><a class="CategoryA" href="default.asp?cateID=22" title="书籍(book)">book [3]</a> <a href="feed.asp?cateID=22" title="订阅该分类内容"><img src="images/rss.png" border="0" style="margin:3px 4px -1px 0px;" alt=""/></a><br/>
						<img src="images/icons/cog.gif" border="0" style="margin:3px 4px -4px 0px;" alt="How To:Use PJBlog3"/><a class="CategoryA" href="default.asp?cateID=9" title="How To:Use PJBlog3">How To [13]</a> <a href="feed.asp?cateID=9" title="订阅该分类内容"><img src="images/rss.png" border="0" style="margin:3px 4px -1px 0px;" alt=""/></a><br/>
						<img src="images/icons/connect.gif" border="0" style="margin:3px 4px -4px 0px;" alt="PJBlog3&#39;s Resource"/><a class="CategoryA" href="default.asp?cateID=11" title="PJBlog3&#39;s Resource">Download [30]</a> <a href="feed.asp?cateID=11" title="订阅该分类内容"><img src="images/rss.png" border="0" style="margin:3px 4px -1px 0px;" alt=""/></a><br/>
						<img src="images/icons/page_white_flash.gif" border="0" style="margin:3px 4px -4px 0px;" alt="Flash &amp; AIR"/><a class="CategoryA" href="default.asp?cateID=26" title="Flash &amp; AIR">flash AIR [8]</a> <a href="feed.asp?cateID=26" title="订阅该分类内容"><img src="images/rss.png" border="0" style="margin:3px 4px -1px 0px;" alt=""/></a><br/>
						<img src="images/icons/page_white_code.gif" border="0" style="margin:3px 4px -4px 0px;" alt="Light Up the Web"/><a class="CategoryA" href="default.asp?cateID=24" title="Light Up the Web">Silverlight [5]</a> <a href="feed.asp?cateID=24" title="订阅该分类内容"><img src="images/rss.png" border="0" style="margin:3px 4px -1px 0px;" alt=""/></a><br/>
						<img src="images/icons/information.gif" border="0" style="margin:3px 4px -4px 0px;" alt="个人档案(private file)"/><a class="CategoryA" href="LoadMod.asp?plugins=AboutMeForPJBlog" title="个人档案(private file)">private file</a><br/>
						<img src="images/icons/heart.gif" border="0" style="margin:3px 4px -4px 0px;" alt="Favourite Website Awards"/><a class="CategoryA" href="http://www.thefwa.com/" title="Favourite Website Awards">The FWA</a><br/>
						<img src="images/icons/photo.gif" border="0" style="margin:3px 4px -4px 0px;" alt="My Picasa Web Albums"/><a class="CategoryA" href="http://picasaweb.google.com/puterjam" title="My Picasa Web Albums">Web Album</a><br/>
					</div>
					<div class="Pfoot"></div>
				</div>

				<div id="Side_User" class="sidepanel">
					<h4 class="Ptitle">User Panel</h4>
					<div class="Pcontent">
						<a href="login.asp" class="sideA" accesskey="L">登录</a>
						<a href="register.asp" class="sideA" accesskey="U">用户注册</a>
					</div>
					<div class="Pfoot"></div>
				</div>
				
				<div id="Side_BlogInfo" class="sidepanel">
					<h4 class="Ptitle">Statistics</h4>
					<div class="Pcontent">
						日志: <a href="default.asp"><b>910</b> 篇</a><br/>
						评论: <a href="search.asp?searchType=Comments"><b>13176</b> 个</a><br/>
						引用: <a href="search.asp?searchType=trackback"><b>290</b> 个</a><br/>
						留言: <b>4740</b> 个<br/>
						会员: <a href="member.asp"><b>4282</b> 人</a><br/>
						访问: <b>18922903</b> 次<br/>
						在线: <b>5</b> 人<br/>
						建站时间: <strong>2004-06-03</strong>
					</div>
					<div class="Pfoot"></div>
				</div>
			
				<div id="Side_Comment" class="sidepanel">
					<h4 class="Ptitle">Recent Comments</h4>
					<div class="Pcontent">
						<div class="commentTable">
							<a class="sideA" href="http://www.pjhome.net" title="hipao 于 2009-4-24 18:46:50 发表评论
							你不喜欢IE6没有人叫你用，不要搞什么推动抛弃IE6，IE6有IE6的好处，IE6能干的事你IE7，IE8，火狐还干不了呢，就只懂得盲目追潮流，讲的就是PJBLOG的作者。[angry]">你不喜欢IE6没有人叫你用，不要搞什么推动抛弃IE...</a><a class="sideA" href="http://www.pjhome.net/article/Javascript/web_workers.htm#comm_14925" title="fdg43443 于 2009-4-24 17:21:06 发表评论
							tw.myblog.yahoo.com/iamgoodgirlsong/article?mid=5057&amp;prev=5058&amp;next=5055 科学证明举头三尺有神明,惊人的真人气...">tw.myblog.yahoo.com/iamgo...</a><a class="sideA" href="http://www.pjhome.net/article/Javascript/web_workers.htm#comm_14924" title="soking 于 2009-4-24 9:29:19 发表评论
							这个火狐旋转动画并不是gif图片，而是Apng的动画。">这个火狐旋转动画并不是gif图片，而是Apng的动...</a>
							<a class="sideA" href="http://www.pjhome.net/article/Web/google_O3D_API.htm#comm_14923" title="流水涵清 于 2009-4-24 0:26:10 发表评论
							pjblog的评论好像有点问题哦，评论提交后，看不到，需要刷新一下才行。  等一下个版本更新的时候，能不能把评论也做成ajax，评论无刷新直接显示，就像蓝色理想家园的评论一样。">pjblog的评论好像有点问题哦，评论提交后，看不...</a><a class="sideA" href="http://www.pjhome.net/article/Web/google_O3D_API.htm#comm_14922" title="流水涵清 于 2009-4-24 0:23:38 发表评论
							这个有点像是虚拟现实，3D的东西都耗硬件资源。">这个有点像是虚拟现实，3D的东西都耗硬件资源。</a>
							<a class="sideA" href="http://www.pjhome.net/article/Javascript/web_workers.htm#comm_14921" title="优博领地 于 2009-4-23 23:19:16 发表评论
							还没有用过这个，学习了~">还没有用过这个，学习了~</a>
							<a class="sideA" href="http://www.pjhome.net/article/Diary/3D_browser_awesomium.htm#comm_14920" title="草榴社区 于 2009-4-23 17:31:40 发表评论
							groups.google.com/group/caoliulangyou  草榴社区最新地址">groups.google.com/group/c...</a>
							<a class="sideA" href="http://www.pjhome.net/article/Web/google_O3D_API.htm#comm_14919" title="feilng 于 2009-4-23 16:27:49 发表评论
							flash受刺激了，3D还没出来，即使出来，与JS的交互肯定不如google&nbsp;&nbsp;O3D">flash受刺激了，3D还没出来，即使出来，与JS...</a><a class="sideA" href="http://www.pjhome.net/article/PJBlog3/pjblog_patch_170.htm#comm_14918" title="laufine 于 2009-4-23 16:03:36 发表评论
							升级之后出现错误 ADODB.Recordset error &#39;800a0cc1&#39;   Item cannot be found in the collection corres...">升级之后出现错误 ADODB.Recordset...</a><a class="sideA" href="http://www.pjhome.net/article/PJBlog3/pjblog_patch_170.htm#comm_14917" title="nogloomy 于 2009-4-23 11:29:41 发表评论
							nogloomy.cn&nbsp;&nbsp;唉 占沙发">nogloomy.cn&nbsp;&nbsp;唉 占沙发</a>
						</div>
					</div>
					<div class="Pfoot"></div>
				</div>
			
				<div id="Side_Blogger" class="sidepanel">
					<h4 class="Ptitle">Friend Blogger</h4>
					<div class="Pcontent">
						<div style="line-height:150%">
							<br/><b>Blogger:</b><br/>
							<a class="sideA" href="http://www.cssforest.org/blog/" target="_blank">CSS森林</a>
							<a class="sideA" href="http://www.twinsenliang.net/" target="_blank">Twinsen Liang</a>
							<br/><b>Friendship support:</b><br/>
							<a class="sideA" href="http://www.0513.cc/" target="_blank">南通生活网</a>
							<a class="sideA" href="http://www.taonice.cn/" target="_blank">淘好![Taonice}.</a>
						</div>
					</div>
					<div class="Pfoot"></div>
				</div>
				
				<div id="Side_Support" class="sidepanel">
					<h4 class="Ptitle">Support</h4>
					<div class="Pcontent">
						<div style="text-align:left;padding-left:0">
							<div style="PADDING: 2px"><a href="http://www.pjhome.net"><img alt="PuterJam's Blog" border="0" src="images/logos.gif" /></a></div>
							<div style="PADDING: 2px;"><a href="http://feedvalidator.org/check.cgi?url=http://www.pjhome.net/feed.asp"><img style="WIDTH: 88px; HEIGHT: 31px" alt="[Valid RSS]" border="0" src="images/valid-rss.png" /></a> <a href="http://feedvalidator.org/check.cgi?url=http://www.pjhome.net/atom.asp"><img title="Validate my Atom 1.0 feed" style="WIDTH: 88px; HEIGHT: 31px" alt="[Valid Atom 1.0]" border="0" src="images/valid-atom.png" /></a></div>
							<div style="PADDING: 2px;"><a target="_blank" href="http://validator.w3.org/check/referer"><img alt="XHTML 1.0 Transitional" border="0" src="images/xhtml.png" /></a> <a target="_blank" href="http://jigsaw.w3.org/css-validator/validator-uri.html"><img alt="Css Validator" border="0" style="background:#fff" src="images/css.png" /></a></div>
							<div style="PADDING: 2px;"><a target="_blank" href="feed.asp"><img alt="RSS 2.0" border="0" src="images/rss2.png" /></a> <a target="_blank" href="atom.asp"><img alt="ATOM 1.0" border="0" src="images/atom.png" /></a></div>
							<div style="PADDING: 2px;"><a target="_blank" href="http://blog.blueidea.com/"><img alt="BXNA" border="0" src="http://blog.blueidea.com/button/80x15.gif" /></a> <a target="_blank" href="http://www.mozilla.org/products/firefox/"><img border="0" alt="Get firefox" src="images/firefox.gif" /></a></div>
							<div style="PADDING: 2px;"><a target="_blank" href="http://www.webmasterhome.cn/"><img style="width:80px;height:15px" border="0" alt="PR" src="http://pagerank.webmasterhome.cn/MyRank/?s=1&url=http://www.pjhome.net" /></a> <a target="_blank" title="查看收录情况" href="http://indexed.webmasterhome.cn/?domain=www.pjhome.net"><img style="width:80px;height:15px" border="0" alt="" src="http://images.webmasterhome.cn/images/indexed_cn.gif" /></a></div>
						</div>
					</div>
					<div class="Pfoot"></div>
				</div>
				
				<div id="sidebar-bottomimg"></div>
			</div>
		</div>
	
		<div style="clear: both;height:1px;overflow:hidden;margin-top:-1px;"></div>
	</div>
	 <!--底部-->
	<div id="foot">
		<p>
		Powered By <a href="http://www.pjhome.net" target="_blank"><strong>PJBlog3 v3.0.6.170</strong></a> CopyRight 2005 - 2008, <strong>PuterJam&#39;s Blog</strong> <a href="http://validator.w3.org/check/referer" target="_blank">xhtml</a> | <a href="http://jigsaw.w3.org/css-validator/validator-uri.html">css</a></p>
		<p style="font-size:11px;">Processed in <b>0.062500</b> second(s) , <b>2</b> queries , <a href="http://www.laogui.com" target="_blank"><strong>geekg</strong></a> Design By <a href="mailto:laogui@gmail.com" target="_blank"><strong>laogui</strong></a> <a href="http://www.codefense.cn" target="_blank"><img border="0" src="images/detect.gif" alt="Code Detection By Codefense" style="margin-bottom:-2px;height:14px;width:12px"/></a>
		<br/><a href="http://www.miibeian.gov.cn" style="font-size:12px"><b>桂ICP备05003362号</b></a>
		</p>
	</div>
</div>
<script type="text/javascript">initAccessKey()  //转换AccessKey For IE</script>
</body>
</html>
